package com.infopulse;

/**
 * Created by sky_lady on 5/15/14.
 */
public class Test {

    public static void main (String[] args) {
        String bin="1101";
        int dec=Integer.parseInt(bin,2);
        System.out.println("Binary: "+ bin);
        System.out.println("Integer: "+ dec);
    }
}
